home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / stsbar.zip / STSBAR.EXT < prev    next >
Text File  |  1991-09-12  |  2KB  |  60 lines

  1. //========================================================================
  2. //  Program          : STSBAR.EXT
  3. //  Version          : 1.1.0
  4. //  Operating System : DOS / Windows 3.0
  5. //  Author           : Jean-Marc Krikorian
  6. //                     525 Sandy Lane 
  7. //                     Libertyville, IL  60048 
  8. //                     (708) 816-3314 
  9. // 
  10. //  Description     : This file external function prototypes as well as all
  11. //                    public messages, styles and defines.
  12. // 
  13. //  Copyright 1991 All Rights Reserved.
  14. // 
  15. //========================================================================
  16.  
  17. // Status Bar Function Prototypes
  18. int  FAR PASCAL StatusBarInit(HANDLE hInstance);
  19. BOOL FAR PASCAL StatusBarUnInit(HANDLE hInstance);
  20.  
  21. // Status Bar Messages
  22. #define SBM_SIZE           ( WM_USER + 0 )
  23. #define SBM_DISPLAYTEXT    ( WM_USER + 1 )
  24. #define SBM_TEXTCOLOR      ( WM_USER + 2 )
  25. #define SBM_FACESTYLE      ( WM_USER + 3 )
  26. #define SBM_FACECOLOR      ( WM_USER + 4 )
  27. #define SBM_SETFONT        ( WM_USER + 5 )
  28.  
  29. // Status Bar Notification Messages
  30. #define SBN_LBUTTONUP      ( 1 )
  31. #define SBN_LBUTTONDBLCLK  ( 2 )
  32. #define SBN_MBUTTONUP      ( 3 )
  33. #define SBN_MBUTTONDBLCLK  ( 4 )
  34. #define SBN_RBUTTONUP      ( 5 )
  35. #define SBN_RBUTTONDBLCLK  ( 6 )
  36.  
  37. // Status Bar Face Styles
  38. #define SBFS_3DFACE   1000
  39. #define SBFS_2DFACE   1001
  40. #define SBFS_FLATFACE 1002
  41.  
  42. // Status Bar Face Colors And Text Colors
  43. #define SBCLR_RED   RGB(255, 0, 0)
  44. #define SBCLR_GREEN RGB(0, 255, 0)
  45. #define SBCLR_BLUE  RGB(0, 0, 255)
  46. #define SBCLR_WHITE RGB(255, 255, 255)
  47. #define SBCLR_BLACK RGB(0, 0, 0)
  48. #define SBCLR_GRAY  RGB(192, 192, 192)
  49.  
  50. // Status Bar Text Attributes
  51. #define SBTA_BOLD      0x0001
  52. #define SBTA_ITALICS   0x0002
  53. #define SBTA_UNDERLINE 0x0004
  54. #define SBTA_STRIKEOUT 0x0008
  55.  
  56. // Status Bar Styles
  57. #define SBS_BOTTOM   0x00000001L
  58. #define SBS_TOP      0x00000002L
  59. #define SBS_MOVEABLE 0x00000004L
  60.